description

fun Any?.description(fallback: String): Text

Describes anything (In enchantment description style, or for tooltips, for example). If the thing is Translatable, it will use the built in description, otherwise it will translate the fallback key

Receiver

Anything, null or not. Translatable will provide its description.

Return

Text description based on the receivers description translation, or the fallback translation

Author

fzzyhmstrs

Since

0.2.0

Parameters

fallback

String - translation key for the fallback description